package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.businsess.HeemoneyPaySplitBusinessDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneySplitAccountBusinessDTO;
import com.financial.service.heemoney.dto.commmon.HeemoneyPaySplitCommonDTO;
import com.financial.service.heemoney.dto.commmon.HeemoneySplitAccoutCommonDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/2 0002 下午 6:51
 * @Des 汇收银结算参数模型
 */
public class HeemoneyPaySplitParamDTO extends BaseHeemoneyParamDTO<HeemoneyPaySplitCommonDTO, HeemoneyPaySplitBusinessDTO> {

    /**
     * 业务参数
     */
    private HeemoneyPaySplitBusinessDTO heemoneyPaySplitBusinessDTO;
    /**
     * 公共参数
     */
    private HeemoneyPaySplitCommonDTO heemoneyPaySplitCommonDTO;

    public HeemoneyPaySplitParamDTO(HeemoneyPaySplitCommonDTO heemoneyPaySplitCommonDTO, HeemoneyPaySplitBusinessDTO heemoneyPaySplitBusinessDTO) {
        super(heemoneyPaySplitCommonDTO, heemoneyPaySplitBusinessDTO);
        this.heemoneyPaySplitCommonDTO = heemoneyPaySplitCommonDTO;
        this.heemoneyPaySplitBusinessDTO = heemoneyPaySplitBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyPaySplitCommonDTO.signStr();
    }

    @Override
    protected HeemoneyPaySplitBusinessDTO getBusinessDTO() {
        return heemoneyPaySplitBusinessDTO;
    }

    @Override
    protected HeemoneyPaySplitCommonDTO getCommonDTO() {
        return heemoneyPaySplitCommonDTO;
    }


}
